package com.weixinadmin.dao;

import java.sql.Timestamp;

public class Customerdao {
	/*
	"subscribe": 1, 
    "openid": "o6_bmjrPTlm6_2sgVt7hMZOPfL2M", 
    "nickname": "Band", 
    "sex": 1, 
    "language": "zh_CN", 
    "city": "广州", 
    "province": "广东", 
    "country": "中国", 
    "headimgurl":    "http://wx.qlogo.cn/mmopen/g3MonUZtNHkdmzicIlibx6iaFqAc56vxLSUfpb6n5WKSYVY0ChQKkiaJSgQ1dZuTOgvLLrhJbERQQ4eMsv84eavHiaiceqxibJxCfHe/0", 
   "subscribe_time": 1382694957
   groupid
	 */
		
	private String openid;
	private String nickname;
	private String language;
	private String city;
	private String province;
	private String country;
	private String headimgurl;
	private int subscribe;
	private int groupid;
	private int sex;
	private Timestamp subscribetime;
	private Timestamp rejecttime;
	
	// public custmer(){}
	
	public Timestamp getsubscribetime() {
        return subscribetime;
    }
	
	public void setsubscribetime(Timestamp subscribetime) {
	     this.subscribetime = subscribetime;
	}
	
	public Timestamp getrejecttime() {
        return rejecttime;
    }
	
	public void setrejecttime(Timestamp rejecttime) {
	     this.rejecttime = rejecttime;
	}
	
	public int getsubscribe() {
        return subscribe;
    }
	
	public void setsubscribe(int subscribe) {
	     this.subscribe = subscribe;
	}
	
	public int getgroupid() {
        return groupid;
    }
	
	public void setgroupid(int groupid) {
	     this.groupid = groupid;
	}
	
	public int getsex() {
        return sex;
    }
	
	public void setsex(int sex) {
	     this.sex = sex;
	}

	public String getopenid() {
         return openid;
    }
	
	public void setopenid(String openid) {
	     this.openid = openid;
	}

	public String getnickname() {
        return nickname;
    }
	
	public void setnickname(String nickname) {
	     this.nickname = nickname;
	}
	
	public String getlanguage() {
        return language;
    }
	
	public void setlanguage(String language) {
	     this.language = language;
	}
	
	public String getcity() {
        return city;
    }
	
	public void setcity(String city) {
	     this.city = city;
	}
	
	public String getprovince() {
        return province;
    }
	
	public void setprovince(String province) {
	     this.province = province;
	}

	
	public String getcountry() {
        return country;
    }
	
	public void setcountry(String country) {
	     this.country = country;
	}

	public String getheadimgurl() {
        return headimgurl;
    }
	
	public void setheadimgurl(String headimgurl) {
	     this.headimgurl = headimgurl;
	}

	public String toString() {
	     
		return "openid: " +openid+
		" nickname: "+nickname+
		" language: "+language+
		" city: "+city+
		" sex: "+sex+
		" province: "+province+
		" country: "+country+
		" headimgurl: "+headimgurl+
		" subscribe: "+subscribe+
		" groupid: "+groupid+" sex: "+sex+
		" subscribetime: "+subscribetime+		
		" rejecttime: "+rejecttime;

	}

	
	
	
}
